﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage.Master" AutoEventWireup="true" CodeBehind="MUserManDel.aspx.cs" Inherits="WebSystem.MUserManDel" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br />
    <table align="center" class="auto-style1">
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
        <asp:ListItem>学生帐号管理</asp:ListItem>
        <asp:ListItem>注册帐号</asp:ListItem>
        <asp:ListItem>删除帐号</asp:ListItem>
    </asp:DropDownList>
&nbsp;&nbsp;&nbsp;
    <asp:DropDownList ID="DropDownList2" runat="server" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged">
        <asp:ListItem>教师帐号管理</asp:ListItem>
        <asp:ListItem>注册帐号</asp:ListItem>
        <asp:ListItem>删除帐号</asp:ListItem>
    </asp:DropDownList>
&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:DropDownList ID="DropDownList3" runat="server" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged">
        <asp:ListItem>管理员帐号管理</asp:ListItem>
        <asp:ListItem>注册帐号</asp:ListItem>
        <asp:ListItem>删除帐号</asp:ListItem>
    </asp:DropDownList>
&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="Button5" runat="server" OnClick="Button4_Click" Text="修改帐号密码" />
            </td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </table>
    <p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<asp:Label ID="Label2" runat="server" Text="删除的用户的帐号："></asp:Label>
            <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            &nbsp;&nbsp;
            <asp:Button ID="Button4" runat="server" Font-Size="Large" OnClick="Button4_Click" Text="确认" />
            &nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblInfo" runat="server" ForeColor="Red"></asp:Label>
    </p>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="UserName" DataSourceID="SqlDataSource2" OnSelectedIndexChanged="Button4_Click" style="text-align: center; position: relative; top: 5px; left: 212px">
                <Columns>
                    <asp:BoundField DataField="UserName" HeaderText="姓名" ReadOnly="True" SortExpression="UserName" />
                    <asp:BoundField DataField="IsLock" HeaderText="密码是否锁定" SortExpression="IsLock" />
                    <asp:BoundField DataField="Memo" HeaderText="身份" SortExpression="Memo" />
                </Columns>
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014115121ConnectionString %>" SelectCommand="SELECT [UserName], [IsLock], [Memo] FROM [UserInfo]"></asp:SqlDataSource>
    <p>
    </p>
    <p>
        &nbsp;</p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>
